package main

import (
	"fmt"
)

func main(){
	num1 := 100
	fmt.Printf("num1的类型为%T,num1的值=%v,num1的地址=%v\n",num1,num1,&num1)

	num2 :=new(int) // *int
	*num2 =100
	fmt.Printf("num2的类型为%T,num2的值=%v,num2的地址=%v \n num2这个指针指向的值=%v",num2,num2,&num2,*num2)

 
}